package com.huluobo.a2205parkdemo.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.huluobo.a2205parkdemo.R
import com.huluobo.base.bean.DepartmentBeanItem

/**
 *  Created by LC on 2024/9/28.
 */
class DepartmentAdapter : BaseQuickAdapter<DepartmentBeanItem, BaseViewHolder>(R.layout.item_department) {
    override fun convert(helper: BaseViewHolder, item: DepartmentBeanItem) {
        helper.setText(R.id.item_department_id, "部门id:${item.departmentId}")
        helper.setText(R.id.item_department_name, "部门名字:${item.departmentName}")
    }
}